package com.dc.model;

import com.wordnik.swagger.annotations.ApiModelProperty;

import java.util.Date;

public class RolePermission {
    @ApiModelProperty(value = " 权限自增id")
    private Integer role_auth_id;
    // 角色id
    private Integer role_id;
    // 权限等级
    private Integer auth_level;
    // 权限值，1表示有，0表示无
    private String permission_value;

    public Integer getRole_auth_id() {
        return role_auth_id;
    }

    public void setRole_auth_id(Integer role_auth_id) {
        this.role_auth_id = role_auth_id;
    }

    public Integer getRole_id() {
        return role_id;
    }

    public void setRole_id(Integer role_id) {
        this.role_id = role_id;
    }

    public Integer getAuth_level() {
        return auth_level;
    }

    public void setAuth_level(Integer auth_level) {
        this.auth_level = auth_level;
    }

    public String getPermission_value() {
        return permission_value;
    }

    public void setPermission_value(String permission_value) {
        this.permission_value = permission_value;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("RolePermission{");
        sb.append("role_auth_id=").append(role_auth_id);
        sb.append(", role_id=").append(role_id);
        sb.append(", auth_level=").append(auth_level);
        sb.append(", permission_value='").append(permission_value).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
